#include "XFtpPWD.h"
#include "XFtpSession.h"



XFtpPWD::XFtpPWD()
{
}


XFtpPWD::~XFtpPWD()
{
}

void XFtpPWD::parse(const std::string & type, const std::string & msg)
{
    std::string respMsg = "";
    //257 "/" is current directory.
    respMsg = "257 \"";
    respMsg += mSesssion->getCurDir();
    respMsg += "\" is current dir.\r\n";
    mSesssion->responseFtpCmd(respMsg);
}
